﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Assets.Scripts.TDuResource
{
    public class AnimationClips
    {
        public string m_strModelName;
        public List<AnimationClipInfo> m_ltClipInfos;

        public AnimationClips()
        {
            m_strModelName = "";

            m_ltClipInfos = new List<AnimationClipInfo>();
            m_ltClipInfos.Clear();
        }
    }

    public class AnimationClipInfo
    {
        public string m_strClipName;      //动画名称
        public int m_nStartFrame;      //动画第一帧
        public int m_nEndFrame;        //动画最后一帧
        public bool m_bIsLoop;         //是否循环

        public AnimationClipInfo(string _clipName, int _firstFrame, int _lastFrame, bool _isLoop)
        {
            m_strClipName = _clipName;
            m_nStartFrame = _firstFrame;
            m_nEndFrame = _lastFrame;
            m_bIsLoop = _isLoop;
        }
    }
}

